﻿namespace KinonekoSoftware.CodariaDB.Runtimes.Messages
{
    public enum Database_Action
    {
        Added,
        Modified,
        Removed,
        Clear,
    }
 
    public class ConceptOP_MSG : DB_MSG
    {
        public static readonly ConceptOP_MSG Clear = new ConceptOP_MSG { Action = Database_Action.Clear, ConceptName = "", ConceptID = "" };
        
        public required string          ConceptID       { get; init; }
        public required string          ConceptName     { get; init; }
        public string          OldName         { get; internal set; }
        public string          ConceptAvatar   { get; init; }
        public string          ConceptEngineID { get; init; }
        public string          ConceptIntro    { get; init; }
        public Database_Action Action          { get; init; }
    }

}